export enum PolicyStatus {
  UNPUBLISH = 0, // 未发布
  PUBLISHED, // 已发布
  CANCEL, // 取消发布
  FAILED, // 解析失败
  PARSING, // 解析中
  SUCCESS, // 解析成功
}

// 政策状态列表
export const PolicyStatusList = [
  {
    value: PolicyStatus.UNPUBLISH,
    name: '未发布',
    color: '#8597A8',
    bg: 'rgba(133,151,168,0.1)',
  },
  {
    value: PolicyStatus.PUBLISHED,
    name: '已发布',
    color: '#8597A8',
    bg: 'rgba(133,151,168,0.1)',
  },
  {
    value: PolicyStatus.CANCEL,
    name: '取消发布',
    color: '#8597A8',
    bg: 'rgba(133,151,168,0.1)',
  },
  {
    value: PolicyStatus.FAILED,
    name: '解析失败',
    color: '#FF493D',
    bg: 'rgba(255,87,75,0.1);',
  },
  {
    value: PolicyStatus.UNPUBLISH,
    name: '解析中',
    color: '#488DFF',
    bg: 'rgba(72,141,255,0.1)',
  },
  {
    value: PolicyStatus.PUBLISHED,
    name: '解析成功',
    color: '#00B145',
    bg: 'rgba(0,177,69,0.1)',
  },
];
